package com.pug.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author panghu
 * @version 1.0.0
 * @createTime 2022年08月12日 23:30:00
 * @Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("kss_user")
public class KssUser implements java.io.Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;
    private String username;
    private BigDecimal money;

    @TableField(exist = false)
    private Account account;


}
